/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
import structure5.*;
/**
 *
 * @author SERGIO MOLINA
 */
public class Wrapper2 implements WordSet{
    RedBlackTree<Word> tree=new RedBlackTree<Word>();
	@Override
	public void add(Word wordObject) {
		tree.add(wordObject);
	}

	@Override
	public Word get(Word word) {
		return tree.get(word);
	}
}
